package com.gugee.ins.common.model.mysql.media;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.*;

@TableName(value = "ins_location")
@Data
public class InsLocation {
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 地理位置id
     */
    @TableField(value = "location_id")
    private Long locationId;

    /**
     * 地理位置名称
     */
    @TableField(value = "location_name")
    private String locationName;

    /**
     * 映射字典地理位置id
     */
    @TableField(value = "dic_location_id")
    private Long dicLocationId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;
}